<%@page import="java.util.Date"%>
<%
/*
	This is meant to be embedded
*/	
%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<jsp:useBean id="skrumItemBean" type="com.skrumtious.action.bean.SkrumItemBean" scope="session" />

<link rel="stylesheet" type="text/css" href="css/skrum.css" />
<script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.11.custom.min.js"></script>	
<li id="${skrumItemBean.skrumItem.order}">
	<div id="skrumItem${skrumItemBean.skrumItem.order}" class="skrumItem${skrumItemBean.skrumItem.order}" >
		<table>
			<tbody>						
				<tr>
					<td>
					<textarea rows="5" cols="60" onclick="removeText();" id="textAreaId" readonly="readonly">${skrumItemBean.skrumItem.text}</textarea>
					<td>
					<td><img src="./images/move_icon.jpg" /></td>
					<td><button onclick="submitSkrumItemCompleted(${skrumItemBean.tabId},${skrumItemBean.skrumItem.order})">Done</button></td>
				</tr>										
				<tr><td id="creationTimeId">${skrumItemBean.skrumItem.creationTime}</td></tr>
			</tbody>
		</table>
	</div>						
</li>